<eq name="readonly" value="true">
	<input class="hidden layui-input" type="text" name="udf_field_{$id}" id="udf_field_{$id}" value="{$val}" >
	<input disabled="disabled" class="layui-input" type="text" name="disabled_udf_field_{$id}" id="udf_field_{$id}" value="{$val}" <notempty name="validate">check="{$validate}" info="{$msg}"</notempty>>
	<else/>
	<php>
		if(empty($val)){
		$val=get_dept_name();
		}
	</php>
	<input class="layui-input" type="text" name="udf_field_{$id}" id="udf_field_{$id}" value="{$val}" readonly="readonly">
</eq>